package cn.itrigger.dynamic.sql.select.join;

import java.util.Optional;

/**
 * @author admin
 * @date 2018/9/25
 **/
public enum JoinType {
    INNER(),
    LEFT("left"),
    RIGHT("right"),
    FULL("full");

    private String shortType;

    private JoinType() {

    }

    private JoinType(String shortType) {
        this.shortType = shortType;
    }

    public Optional<String> shortType() {
        return Optional.ofNullable(shortType);
    }
}
